package com.simple.sample;

import com.simple.core.config.SimpleConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author FanXing
 * @date 2023年03月01日 16:43
 */
@SpringBootApplication(scanBasePackages = "com.simple.sample")
@EntityScan("com.simple.sample")
@EnableJpaRepositories("com.simple.sample")
@ImportAutoConfiguration(SimpleConfig.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
